using System.Collections.Generic;

namespace MiniFlower
{
    public class LogTypeCompare : IEqualityComparer<ELogType>
    {
        public bool Equals(ELogType x, ELogType y)
        {
            int left = (int)x;
            int right = (int)y;
            return left == right;
        }

        public int GetHashCode(ELogType obj)
        {
            return (int)obj;
        }
    }

}
